// JavaScript Document
function check()
{
	var cond=true;
	if(document.adminlogin.username.value.length==0)
	{
		alert("Please Enter Admin Name.");
		if(cond==true)
		{
			document.adminlogin.username.focus();
			document.getElementById('uname').style.color="red";
		}
		

		cond=false;
		return false;
	}	
	if(document.adminlogin.password.value==0)
	{
		alert("Please Enter Admin Password.");
		if(cond==true)
		{
			document.adminlogin.password.focus();
		}
		cond=false;
		return false;
	}
}